package com.manage.platform.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 绩效目标表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(description = "绩效目标表")
public class PerformanceDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 绩效目标ID
     */
    @Schema(description = "绩效目标ID, 修改必传")
    private Long id;

    /**
     * 创建者ID
     */
    @Schema(description = "创建者ID", hidden = true)
    private Long userId;

    /**
     * 组织ID
     */
    @Schema(description = "组织ID")
    private Long organizeId;

    /**
     * 父级ID(0为顶级)
     */
    @Schema(description = "父级ID(0为顶级)")
    private Long parentId;

    /**
     * 等级(1=一级指标, 2=二级指标, 3=三级指标...)
     */
    @Schema(description = "等级(1=一级指标, 2=二级指标, 3=三级指标...)")
    private Integer level;

    /**
     * 指标名称
     */
    @Schema(description = "指标名称")
    private String name;

    /**
     * 目标值
     */
    @Schema(description = "目标值")
    private String goalValue;

    /**
     * 完成值进度(0-100)
     */
    @Schema(description = "完成值进度(0-100)")
    private Integer progress;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

}
